package com.cool.cloud.service;

import com.cool.cloud.entity.SliderPicture;

import java.util.List;

/**
 * @author laijunji
 * @InterfaceName SliderPictureService
 * @Description (slider_picture)表服务接口
 * @date 2021-03-10 11:22:11
 * @Version 1.0
 **/
public interface SliderPictureService {

    /**
     * 查询所有
     *
     * @return List
     */
    List<SliderPicture> queryAll();

    /**
     * 根据主键删除
     *
     * @param id
     * @return
     */
    int delete(Integer id);

    /**
     * 新增
     *
     * @param picture
     * @return
     */
    int add(SliderPicture picture);
}
